import { reactive, ref} from 'vue';
const dialogVisible = ref(false);
const formLabelWidth = '100px';
const isAdd = ref(true);
const ruleFormRef =  ref(null);
const data = reactive({
  form:{}
})
function open(row) {
	if(row){
		data.form = Object.assign({},row)
		isAdd.value = false
	}
	dialogVisible.value = true;
}
export default {
	open,data,isAdd,ruleFormRef,formLabelWidth,dialogVisible
}

